const request = require('../utils/request');

/**
 * 获取积分变动信息列表
 * @param {Object} params - 查询参数
 * @param {number} params.current - 页码
 * @param {number} params.pageSize - 每页数量
 * @param {number} params.status - 类型
 */
function getPointLogs(params) {
  return request.get('/shop-marketing/pointLog/page', params);
}

function getTotalPoint() {
  return request.get('/shop-marketing/pointLog/getTotalPoint');
}

module.exports = {
  getPointLogs,
  getTotalPoint
};